<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:body>
	<h:form>
		<p:menubar>
			<p:submenu label="Hệ thống" width="100%" icon="ui-icon-extlink">

				<p:menuitem value="Phiếu nhập" url="/faces/iems/instock.xhtml" icon="ui-icon-document"/>
			</p:submenu>
			<p:submenu label="Setup" width="100%" icon="ui-icon-gear">

				<p:menuitem value="User Configuration" url="/faces/admin/user.xhtml"
					rendered="#{mbAuthentication.adminRole}" />

				<p:menuitem value="Change Password"
					url="/faces/admin/changePass.xhtml" />
			</p:submenu>

			<p:menuitem value="Logout" action="#{mbAuthentication.logout}" icon="ui-icon-close"
				ajax="false" />
		</p:menubar>
	</h:form>
</h:body>
</html>